/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.aacorps.javaeal.common;

/**
 *
 * @author Ati
 */
public class UserDTO {
    
    private Long id;
    private String userName;
    private String email;

    public UserDTO() {
    }

    public UserDTO(String userName, String email) {
        this.userName = userName;
        this.email = email;
    }

    public UserDTO(Long id, String userName, String email) {
        this.id = id;
        this.userName = userName;
        this.email = email;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "UserDTO{" + "id=" + id + ", userName=" + userName + ", email=" + email + '}';
    }
    
}
